#include "CmdDone.h"


const string CmdDone::DONE_EXEC = "%s marked as done";
const string CmdDone::UNDONE_EXEC = "%s marked as undone";

CmdDone::~CmdDone(void)
{
}

CmdDone::CmdDone(cmdTypes cmdType, vector<string> params, string origStr, vector<int> ids) :
	Cmd(cmdType, params, origStr) {
		if (cmdType == DONE){
			doneType = DoneType::MARK_DONE;
		}
		else if (cmdType == UNDONE) {
			doneType = DoneType::MARK_UNDONE;
		}
		this->ids = ids;
}

vector<int> CmdDone::getIds() {
	return this->ids;
}

void CmdDone::setIds(vector<int> index) {
	ids = index;
}

CmdDone::DoneType CmdDone::getDoneType() {
	return this->doneType;
}